package com.wuhao.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wuhao.springboot.entity.dto.UserDTO;
import com.wuhao.springboot.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wuhao.springboot.entity.ro.EditRoleRO;
import com.wuhao.springboot.entity.ro.PageRO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吴昊
 * @since 2022-12-12
 */
public interface IUserService extends IService<User> {
    UserDTO login(UserDTO userDTO);

    User register(UserDTO userDTO);

    Page<UserDTO> pageUser(PageRO ro);

    void editRole(EditRoleRO ro);
}

